<template>
  <div
    class="async-error" @tap="_onClick">
    网络错误，请点击屏幕重试
  </div>
</template>
<style>
	.async-error {
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		color: #999;
		padding: 100px 0;
		text-align: center;
	}
</style>
<script>
export default {
  name: 'AsyError',
  methods: {
    _onClick () {
		if(typeof androlua == "undefined"){
			window.location.reload(true)
		}else{
			androlua.refresh(window.location.href);
		}
    }
  }
}
</script>